/**
 * @apiDefine auth 认证
 */

/**
 * @api {POST} /app/tbk_auth_callback 淘宝客认证回调
 * @apiSampleRequest /app/tbk_auth_callback
 * @apiDescription
 * <p>淘宝客认证回调地址。</p>
 * <p><span style="color:red">注：淘宝认证拼接出的url，state字段为用户的手机号</span></p>
 * <p>示例：https://oauth.taobao.com/authorize?spm=a219a.15212433.0.0.609d669aTdMt6U&response_type=code&client_id=33328606&redirect_uri=http://8.134.70.157:8800/app/tbk_auth_callback&<span style="color:red">state=15684546419</span>&view=web</p>
 * <p>参考文档</p>
 * <ol>
 *     <li><a href="https://open.taobao.com/doc.htm?docId=118&docType=1">淘宝OAuth2.0服务</a></li>
 * </ol>
 * @apiGroup auth
 * @apiUse auth
 * @apiSuccessExample {json} 成功响应：
 * HTTP/1.1 200 OK
 * {
 *     "code": 0,
 *     "special_id": 2808135699
 * }
 * @apiErrorExample {json} 绑定失败:
 * {
 *    "code": 500,
 *    "msg": "淘宝客账号绑定失败"
 * }
 */

/**
 * @api {POST} /app/tbk_bind_member 绑定会员
 * @apiSampleRequest /app/tbk_bind_member
 * @apiParam {String} topAccessToken 示例：630251070c0f8869eba39bf1124d23279b5656e971d96332138179711
 * @apiParam {String} openId 示例：AAHA2R73ANxGccqB_Hk9gUSv
 * @apiParam {String} nick 昵称
 * @apiGroup auth
 * @apiUse auth
 * @apiSuccessExample {json} 成功响应：
 * HTTP/1.1 200 OK
 * {
 *     "code": 0,
 *     "data": {
 *         "special_id": 2811750019
 *     }
 * }
 * @apiErrorExample {json} 绑定失败:
 * {
 *    "code": 500,
 *    "msg": "淘宝客账号绑定失败"
 * }
 */
